(function (window) {

    var Socket = function (voltage) {
        this.initialize(voltage);
    }
    var p = Socket.prototype;

    p.voltage = 0;

    /**
    * Initialization method.
    * @method initialize
    */
    p.initialize = function (voltage) {
        this.voltage = voltage;
    }

    p.getVoltage = function () {
        return this.voltage;
    }

window.Socket = Socket;
} (window));